package fr.ajicommerce.core.service.interfaces;

import fr.ajicommerce.core.dto.PhotoDTO;
import fr.ajicommerce.core.entities.Photo;
import fr.ajicommerce.core.entities.TypePhoto;
import fr.ajicommerce.core.service.generics.AbstractService;

public interface PhotoService extends AbstractService<PhotoDTO, Photo> {

	public long savePhoto(String name);
	
	public long createPhoto(String name);

	public Photo getPhoto(long idPhoto);

	public void removePhoto(long idPhoto);

	public boolean setType(TypePhoto typePhoto);

	public void updatePhoto(long idPhoto);

}
